package com.iot.util;



import java.util.List;

public interface BaseMapper<T> {
    public int getRecordCount(String sWhere);
    public int insert(T entity);
    public void update(T entity);
    public void deleteById(Integer id);
    public T single(Integer id);
    public List<T> fetch(String sWhere);
    public T singleByWhere(String sWhere);
}
